package com.example.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;


/**
 * @author 张露晨
 * @date 2017/9/27 10:08.
 */
@Configuration
@ConfigurationProperties(prefix = "tech.yunjing")
@PropertySource("classpath:test.properties")
@Data
public class ConfigTestBean {

    private String name;

    private String want;

    private String todo;

}
